home *** CD-ROM | disk | FTP | other *** search
/ Gigantic Games 2 / Gigantic Games 2.iso / pc / _l_ / luffar / luffar.doc < prev    next >
Text File  |  1994-12-23  |  2KB  |  69 lines

  1. Luffar by Magnus Enarsson
  2.  
  3.  
  4.  
  5. Disclames.
  6.  
  7. Luffar is safe to use. However, just in case: I take no responsibility
  8. what so ever for any damage caused by the use or misuse of the 
  9. program and/or this documentation.
  10.  
  11.  
  12.  
  13. Claims.
  14.  
  15. Luffar by Magnus Enarsson is FREEWARE so no financial donations are 
  16. required. You may NOT change the program or documentation in any 
  17. way. Keep the program and documentation together while spreading it.
  18.  
  19. If you want theverycleversourcecodeinCwithcommentsinenglish you may 
  20. send me ten disks with something fun on and I will return one of them 
  21. with the sourcecode. Don't send me cheap nonames where only 50% works,
  22. and then only for a week.
  23.  
  24.  
  25.  
  26. History.
  27.  
  28. I have always been fascinated of the game of noughts and crosses. 
  29. The rules are very simple, but it is still hard to be a good player. In 
  30. the beginning of the year 1991 I started to work on a method 
  31. of making the computer to play. It was hard at the beginning but one 
  32. morning when I woke up I knew exactly how to do. Three hours later the routine 
  33. was finished. I implemented it in an AMOS program. This year (1993) I 
  34. decided to learn C. I was really not satisfied about the AMOS version of the 
  35. routine so naturally my first project in C was to make Luffar. Luffar is my 
  36. first and, so far, only program that I have written in C.
  37.  
  38. The name Luffar comes from the swedish name "Luffarschack" which 
  39. means "Chess for the vagabonds"
  40.  
  41.  
  42.  
  43. Rules.
  44.  
  45. Noughts and crosses is easy to learn.
  46.  
  47. There are two players where one has the x-symbol and the other 
  48. has the o-symbol. The players place their symbols every other time
  49. in a empty box. The board contains 15*15 boxes and the x-symbol will always 
  50. begin. To win you must place five of your symbols in an unbroken row 
  51. vertically, horizontally or diagonal. Six in a row counts as nothing.
  52.  
  53.  
  54.  
  55. How it works.
  56.  
  57. Luffar is easy to learn too.
  58.  
  59. With the AHEAD and REWIND buttons you can go quickly through the game. 
  60. The RESTART button will rewind to the beginning.
  61. Press the COMPUTERX button if you want the computer to play the crosses.
  62. If you select both COMPUTERX and COMPUTERO the computer will play both
  63. players and it will be a little like a demo.
  64. With the LEFT MOUSEBUTTON you can place your symbol at the board. 
  65. With the RIGHT MOUSEBUTTON you can force the computer to make one move.
  66.  
  67.  
  68.  
  69. Spread the word, and the program.